package cn.zzmx.mapper;

import cn.zzmx.entity.Order;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface IOrderMapper {


    /**
     * 查询所有的订单
     * @return
     */
    List<Order> queryOrderAll();


    /**
     * 通过id查询订单详情
     * @param id
     * @return
     */
    Order queryOrderPassengerById(String id);

    /**
     * 根据ID删除订单
     * @param id
     */
    void deleteOrderById(String id);
}
